package com.jack.netty.log;

/**
 * Created by jack on 15/12/8.
 */
public class DefaultLogger implements ILogger {
    @Override
    public void error(Class tag, String error) {
        System.out.println("tag:"+tag.getName()+"|error:"+error);
    }

    @Override
    public void warn(Class tag, String warn) {
        System.out.println("tag:"+tag.getName()+"|warn:"+warn);
    }

    @Override
    public void debug(Class tag, String debug) {
        System.out.println("tag:"+tag.getName()+"|debug:"+debug);
    }

    @Override
    public void info(Class tag, String info) {
        System.out.println("tag:"+tag.getName()+"|info:"+info);
    }
}
